/*
 * File: layer0.h - header file for the layer0 class
 * Author: Sam Tran (tpmsam@yahoo.com), UHCL, April 2006
 */


#ifndef __LAYER0_H
#define __LAYER0_H


#include <omnetpp.h>
#include "globaldef.h"

/** layer0 simple module class. it is responsible for:
 *- the communication with the manager
 *- for delivering the messages to the nodes within the transmission range 
 *- refreshing the display
 *- computing and updating the RWP data structures */
class layer0 : public cSimpleModule
{
    /** omnet++ specific code */
	Module_Class_Members(layer0,cSimpleModule,16384);
	
	/** the initialization function */
	void initialize();
	
	/** main loop function */
	void activity();
};


Define_Module( layer0 );


#endif

